<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>404页面不存在</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.css">
    <link rel="stylesheet" href="../../static/css/me.css" th:href="@{/css/me.css}">
    <link rel="stylesheet" href="../../static/css/layui.css" th:href="@{/css/layui.css}">
    <link rel="stylesheet" href="../../static/css/admin.css" th:href="@{/css/admin.css}">

    <script src="../../static/js/jquery-1.8.3.js" th:src="@{/js/jquery-1.8.3.js}"></script>
    <script type="text/javascript">

        $(function () {
            var addr = $("#headPortrait").html();
            $("#img").attr("src", addr);
        });


    </script>
</head>
<body>
<!-- 导航 -->
<nav class="gird-header" th:fragment="menu(n)">
    <div class="ui inverted secondary stackable menu">
        <h2 class="ui teal header item" style="font-family: 'YaHei Consolas Hybrid';margin-left: 100px">Blog</h2>
        <a href="#" style="margin-left: 50px" th:href="@{/front/blog/showAll}" class="m-item item m-mobile-hide"
           th:classappend="${n == 1} ? 'active'"><i
                class="mini home icon"></i>&nbsp;<span style="font-size: 22px;font-family: 华文行楷">首页</span></a>
        <a href="#" th:href="@{/front/type/showAll}" class="m-item item m-mobile-hide"
           th:classappend="${n == 2} ? 'active'"><i
                class="mini idea icon"></i>&nbsp;<span style="font-size: 22px;font-family: 华文行楷">分类</span></a>
        <a href="#" th:href="@{/front/tag/showAll}" class="m-item item m-mobile-hide"
           th:classappend="${n == 3} ? 'active'"><i
                class="mini tags icon"></i>&nbsp;<span style="font-size: 22px;font-family: 华文行楷">标签</span></a>
        <a href="#" th:href="@{/front/archive/showAll}" class="m-item item m-mobile-hide" th:classappend="${n == 4} ? 'active'"><i
                class="mini clone icon"></i>&nbsp;<span style="font-size: 22px;font-family: 华文行楷">归档</span></a>
        <a href="#" th:href="@{/front/time/timeAxis}" class="m-item item m-mobile-hide" th:classappend="${n == 5} ? 'active'"><i
                class="mini clock outline icon"></i>&nbsp;<span style="font-size: 22px;font-family: 华文行楷">时间轴</span></a>
        <a href="#" th:href="@{/}" class="m-item item m-mobile-hide" th:classappend="${n == 6} ? 'active'"><i
                class="mini share square icon"></i>&nbsp;<span style="font-size: 22px;font-family: 华文行楷">我的收藏</span></a>
        <a href="#" th:href="@{/}" class="m-item item m-mobile-hide" th:classappend="${n == 7} ? 'active'"><i
                class="mini linkify icon"></i>&nbsp;<span style="font-size: 22px;font-family: 华文行楷">友链</span></a>
        <a href="#" th:href="@{/front/message/messages}" class="m-item item m-mobile-hide" th:classappend="${n == 8} ? 'active'"><i
                class="mini edit outline icon"></i>&nbsp;<span style="font-size: 22px;font-family: 华文行楷">留言板</span></a>
        <a href="#" th:href="@{/front/about/about}" class="m-item item m-mobile-hide" th:classappend="${n == 9} ? 'active'"><i
                class="mini info icon"></i><span style="font-size: 22px;font-family: 华文行楷">关于本站</span></a>
        <div class="right m-item item m-mobile-hide">
            <form name="search" action="#" th:action="@{/front/blog/search}" target="_blank">
                <div class="ui icon inverted transparent input m-margin-tb-tiny">
                    <input id="searchContent" type="text" th:value="${searchContent}" name="searchContent"
                           placeholder="Search....">
                    <i onclick="document.forms['search'].submit()" class="search link icon"></i>
                </div>
            </form>

        </div>
        <a sec:authorize="!isAuthenticated()" class="m-item item m-mobile-hide" href="#" th:href="@{/user/login}"><i
                class="mini shield alternate icon" style="color:red;font-size: 14px"></i><span
                style="font-size: 22px;font-family: 华文行楷;color: red">点击登录</span></a>
        <div class="m-item m-ma see-hide menu" style="float: right;margin-right: 50px"
             sec:authorize="isAuthenticated()">
            <div class="ui dropdown  item">
                <div class="text">
                        <span style="display: none" id="headPortrait"
                              sec:authentication="principal.headPortrait"></span>
                    <img class="ui avatar image" id="img"/>
                    <span sec:authentication="principal.nickname"></span>
                </div>
                <i class="dropdown icon"></i>
                <div class="menu">
                    <a href="#" th:href="@{/logout}" class="item">注销</a>
                    <a href="#" th:href="@{/user/toUpload}" class="item">更换头像</a>
                </div>
            </div>
        </div>

    </div>
</nav>
<br>
<br>
<br>
<i class="layui-icon layui-icon-face-surprised"></i>
<div class="layui-fluid">
    <div class="layadmin-tips">
        <i class="layui-icon layui-icon-face-surprised" face></i>
        <div class="layui-text">
            <h1>
                <span class="layui-anim layui-anim-loop layui-anim-">4</span>
                <span class="layui-anim layui-anim-loop layui-anim-rotate">0</span>
                <span class="layui-anim layui-anim-loop layui-anim-">4</span>
            </h1>
        </div>
    </div>
</div>

<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>

<!-- 底部 -->
<footer class="ui inverted vertical segment m-padded-tb-massive m-opacity" th:fragment="footer">
    <div class="ui center aligned container">
        <div class="ui inverted divided stackable grid">
            <div class="three wide column">
                <div class="ui inverted link list">
                    <div class="item">
                        <img src="../static/images/wechat.jpg" th:src="@{/images/wechat.jpg}" class="ui rounded image"
                             alt="" style="width: 110px">
                    </div>
                </div>
            </div>
            <div class="three wide column">
                <h4 class="ui inverted header m-text-thin m-text-spaced ">最新博客</h4>
                <div class="ui inverted link list">
                    <a href="#" class="item m-text-thin">用户故事（User Story）</a>
                    <a href="#" class="item m-text-thin">用户故事（User Story）</a>
                    <a href="#" class="item m-text-thin">用户故事（User Story）</a>
                </div>
            </div>
            <div class="three wide column">
                <h4 class="ui inverted header m-text-thin m-text-spaced ">联系我</h4>
                <div class="ui inverted link list">
                    <a href="#" class="item m-text-thin">Email：2605811855@qq.com</a>
                    <a href="#" class="item m-text-thin">QQ：2605811855</a>
                </div>
            </div>
            <div class="seven wide column">
                <h4 class="ui inverted header m-text-thin m-text-spaced ">Blog</h4>
                <p class="m-text-thin m-text-spaced m-opacity-mini">这是我的个人博客、会分享关于编程、写作、思考相关的任何内容，希望可以给来到这儿的人有所帮助...</p>
            </div>
        </div>
        <div class="ui inverted section divider"></div>
        <p class="m-text-thin m-text-spaced m-opacity-tiny">Copyright © 2016 - 2017 Lirenmi Designed by Lirenmi</p>
    </div>

</footer>


<script src="../../static/layui/layui.js" th:src="@{/layui/layui.js}"></script>
<script type="text/javascript">
    layui.use("element", function () {
        var element = layui.element; //导航的hover效果、二级菜单等功能，需要依赖element模块

        //监听导航点击
        element.on('nav(demo)', function (elem) {
            //console.log(elem)
            layer.msg(elem.text());
        });
    });
</script>

<script src="https://cdn.jsdelivr.net/npm/jquery@3.2/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.js"></script>

<script>
    $('.menu.toggle').click(function () {
        $('.m-item').toggleClass('m-mobile-hide');
    });
</script>
</body>
</html>